package library

import (
	_ "mygf2/internal/packed"

	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/os/gcache"
)

var GlobalCache = gcache.New()

func init() {
	redis := g.Redis("cache")
	GlobalCache.SetAdapter(gcache.NewAdapterRedis(redis))
}
